package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import java.time.LocalDate;

/**
 * @author rookie001
 * @creat 2023-05-06-9:49
 */
public interface ReportService {
    //营业额数据统计
    TurnoverReportVO getTurnover(LocalDate begin, LocalDate end);

    //用户统计
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    //根据时间区间统计订单数量
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    //销量排名统计
    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);
}
